package class202205.demo31.demo28;

class Bass{
    public int a = 10;
    public int b = 20;

    public void sup(){
        this.a = a;
        this.b = b;
    }
}

class Sub extends Bass{
    public int a = 30;
    public int c = 40;

    public int kil(){
        return super.a;
    }
}


public class demo20220528 {
    public static void main(String[] args) {
        Bass bass = new Sub();

    }
}
